Skip to content

fix(upgrade): recover pre-proxy controller transitions - #199

Merged
Nickfost merged 7 commits into
mainfrom
t3/legacy-manager-transition
Nov 27, 2026
Merged

Nickfost merged 7 commits into
mainfrom
t3/legacy-manager-transition

Conversation

@Nickfost

@Nickfost Nickfost commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Refs #113

The pre-proxy manager at 791a15b8c474c6f1053237ff0b86b6b37cf0ac92 started the controller for 312d22d712d5a5e87bdb14796bf2c40f33d53f92 with --no-deps. The controller restarted without its Docker socket proxy.

The upgrade procedure stages the reviewed manager from a protected checkout before invoking the staged manager to activate the new runtime. Compose waits for the healthy proxy and uses verified local images. If the candidate enters a restart loop during rollback, the installer disables restart on the identified controller, verifies it has stopped, and waits for active runners before restoring the incumbent.

The regression installs the exact historical manager and runtime. With simulated Docker and systemd, it verifies failure when the proxy cannot start, recovery when the candidate restarts during pause, and successful activation with an initially absent proxy. It compares the installed state, actual image identity, proxy readiness, and health report. The fixture uses function-local state with the ShellCheck rules enabled.

GitHub ran the full validator for 3a250123ffa99f8141e881bf17c82c7db7d84e3b against 7c79899f6f4a8745b72f7b2c8f6050b31b17297a. All eight stages passed with no expected skips, including the historical installer regression and container builds. Codex reported no findings on the same head. Validation report

Focused installer, image lifecycle, reconciliation, and historical fixture setup checks passed locally. The full local retry is still running after a systemd timeout on the disposable VM. Live-host acceptance and rollout require separate authorization.

The engine's desired-state and validation guides document the procedure and historical input. The standalone configuration template already supplies the manager staging and evidence sequence, so this change needs no template update.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T08:44:04.049283Z 3a25012 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Nickfost
Nickfost merged commit a96895e into main Nov 27, 2026
4 checks passed
@Nickfost
Nickfost deleted the t3/legacy-manager-transition branch November 27, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant